package diweb;

public class DrawShap {
    Canvas canvas;

    private Shape shape;

    public void setShape(Shape shape) {
        this.shape = shape;
    }

    public DrawShap(Canvas canvas) {
        this.canvas = canvas;
    }

    public String drawIt(){
        return String.format("Draw %s with color %s", shape.getShape(),canvas.getColor());
    }
}
